package com.qf.cardlike.mapper;

import com.qf.cardlike.domain.User;

import java.util.List;

/**
 * @author DXT
 * @date 2022/5/16 16:43
 * @description 针对表【user】的数据库操作Mapper
 */
public interface UserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    // 根据名字查询用户
    List<User> selectByName(String username);
}
